package edu.gatech.oad.OTConfig;
import java.awt.EventQueue;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.FlowLayout;


public class TrailFrame extends JFrame {

	/**This is the Frame for when the Player is traveling on the Trail.
	 * 
	 * @author Amy Lambeth
	 * @version 1.0 10/24/2011
	 * 
	 */
	private static final long serialVersionUID = 4033608227561026939L;

		private TrailPanel contentPane;

	

	/**
	 * Create the frame.
	 */
	public TrailFrame(WagonController wagonController) {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		contentPane = new TrailPanel(wagonController);
		add(contentPane);
		setVisible(false);
		setSize(600,500);
		setResizable(false);
		setLocation(350,160);
	}
	
	public JButton getBtnStore(){
		return contentPane.getBtnStore();
	}
	
	public TrailPanel getTrailPanel(){
		return contentPane;
	}

}
